<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-projInfo-edit" th:object="${projInfo}">
            <input id="projId" name="projId" th:field="*{projId}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">证件号码：</label>
                <div class="col-sm-8">
                    <input id="empId" name="empId" th:field="*{empId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">姓名：</label>
                <div class="col-sm-8">
                    <input id="empNm" name="empNm" th:field="*{empNm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目名称：</label>
                <div class="col-sm-8">
                    <input id="empPjNm" name="empPjNm" th:field="*{empPjNm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目类型：</label>
                <div class="col-sm-8">
					<select id="empPjType" class="form-control m-b" th:with="type=${@dict.getType('pm_pj_type')}">
	                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{empPjType}"></option>
	                </select>
				</div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目角色：</label>
                <div class="col-sm-8">
                    <input id="empPjRole" name="empPjRole" th:field="*{empPjRole}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">日期： </label>
                <div class="col-sm-8 form-inline select-month">
                    <input type="text" class="form-control time-input" id="startTime" placeholder="开始时间" name="params[beginTime]" th:value="${#dates.format(projInfo.empPjStdt, 'yyyy-MM')}" />
                    <span class="form-control text-center" style="border:0;">至</span>
                    <input type="text" class="form-control time-input" id="endTime" placeholder="结束时间" name="params[endTime]" th:value="${#dates.format(projInfo.empPjEddt, 'yyyy-MM')}"/>
                </div>
			</div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目所属公司：</label>
                <div class="col-sm-8">
                    <input id="empComp" name="empComp" th:field="*{empComp}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">责任描述：</label>
                <div class="col-sm-8">
                    <textarea type="text" id="empPjDesc" name="empPjDesc" class="form-control" th:field="*{empPjDesc}"></textarea>
                </div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
</body>
</html>
